package com.fyyg.common.code;

public interface Code {
	
	/**返回状态值：成功   */
	public static final String SUCCESS 					= "0000";
	public static final String CONNECT_ERROR 			= "9000";
	public static final String ERROR_NORMAL 			= "0099";
	public static final String ERROR_REDIS				= "1000";
	public static final String ERROR_PARAMS				= "1001";
	public static final String ERROR_DBSAVE				= "1002";
	public static final String ERROR_DES				= "1003"; 
	public static final String ERROR_DBQUERY			= "1004";
	public static final String ERROR_INIT				= "1005"; 
	public static final String ERROR_EMPTY				= "1006";
	public static final String ERROR_VERIFY				= "1007";
	public static final String ERROR_ISEXISTS			= "1008";
	public static final String ERROR_LOGIN				= "1009";
	public static final String USER_NULL 				= "1010";
	public static final String CASH_PASSWORD_ERROR	    = "1011";
		
	/********************************py*2000****************************************/
	public static final String MOBILE_NULL 				= "2000";
	public static final String MOBILE_ISEXISTS 			= "2001";
	public static final String MOBILE_SEND_SUCCESS 		= "2002";
	public static final String MOBILE_SEND_ERROR 		= "2003";
	public static final String LOGIN_USER_NULL		    = "2004";
	public static final String LOGIN_PASSWORD_NULL		= "2005";
	public static final String LOGIN_ERROR				= "2006";
	public static final String LOGIN_SUCCESS			= "2007";
	
	public static final String MOBILE_REPEAT			= "2008";
	public static final String MESSAGE_CODE_NULL		= "2009";
	public static final String MESSAGE_CODE_ERROR		= "2010";
	public static final String PASSWORD_NULL			= "2011";
	public static final String PASSWORD_FALSE			= "2012";
	public static final String REGISTR_SUCCESS			= "2013";
	public static final String REGISTR_ERROR			= "2014";
	public static final String MESSAGE_CODE_TIMEOUT		= "2015";
	public static final String PASSWORD_UNMODIFIED      = "2016";
	public static final String PAY_PASSWORD_ERROR       = "2017";
	
	public static final String ADDRESS_MAX_COUNT        = "2018";
	public static final String BANK_CARD_EXIST       	= "2019";
	public static final String USER_NAME_EXIST			= "2020";
	
	public static final String EMAIL_NULL				= "2021";
	
	public static final String IMAGE_CODE_ERROR			= "2022";
	
	public static final String MEMBER_STATUS_DONGJIE    = "2023";
	public static final String MEMBER_STATUS_DELETE     = "2024";
	public static final String USERNAME_ILLEGAL			= "2025";
	public static final String INVITER_ERROR			= "2026";
	public static final String NOT_REVIEWED             = "2027";
	
	
	
	/********************************xlm*3000****************************************/
	public static final String MESSAGE_ALREADY_CONCERN	= "3001";
	public static final String MESSAGE_ALREADY_PRAISE	= "3002";
	//评论回复
	public static final String MESSAGE_COMMENT_SUCC		= "3003";
	public static final String MESSAGE_COMMENT_CONTENT_ISNULL		= "3004";
	public static final String MESSAGE_CODE_FREUENTLY	= "3005";
	public static final String SUB_ACCOUNT_UPDATE_ADDRESS_ERROR	= "3006";
	public static final String MESSAGE_COMMENT_TOO      ="3007"; 
	
	
	
	
	/********************************oyh*4000****************************************/
	public static final String PRODUCT_LOW_STOCK	= "4001";
	public static final String PRODUCT_LOW_STOCK_USE_COUPON	= "4002";
	public static final String USER_FILL_FAIL	= "4003";
	public static final String USER_MONEY_LOG_FAIL	= "4004";
	public static final String REPEAT_PAY	= "4005";
	public static final String USER_MONEY_NOT_ENGOUTH = "4006";
	public static final String USER_CART_IS_NULL	= "4007";
	public static final String SHOP_LOTTERY_IS_CLOSE	= "4008";
	public static final String PAY_FAIL	= "4009";
	public static final String COUPON_IS_VALID	= "4010";
	public static final String GET_LOTTERY_CODE_FAIL	= "4011";
	public static final String USER_STATUS_VALID	= "4012";
	public static final String ACTIVITY_END	= "4013";
	public static final String MORE_THAN_ACTIVITY_LIMIT	= "4014";
	public static final String MORE_THAN_ACTIVITY_PRODUCT_LIMIT	= "4015";
	public static final String MORE_THAN_ACTIVITY_PRODUCT_SINGLE_LIMIT_COUNT	= "4016";
	public static final String MORE_THAN_ACTIVITY_PRODUCT_TOTAL_LIMIT_COUNT	= "4017";
	public static final String ACTIVITY_NOT_BEGIN	= "4018";
	public static final String PRODUCT_BUY_ONLY_COUPON	= "4019";
	public static final String COUPON_NUM_NOT_ENGOUTH	= "4020";
	
	
	
	
	/********************************zdx*5000****************************************/
	
	
	
	
	
	
	
	/********************************我是分割线**************************************/	
	
	public static final String[][] CODE_CONTENT = {
		{SUCCESS 					,"处理成功"},
		{CONNECT_ERROR 				,"连接超时"},
		{ERROR_NORMAL 				,"处理错误"},
		{ERROR_REDIS				,"缓存错误"},
		{ERROR_PARAMS				,"参数非法"},
		{ERROR_DBSAVE				,"数据持久化错误"},
		{ERROR_DES					,"协议报文加解密错误"},
		{ERROR_INIT					,"初始化错误"},
		{ERROR_EMPTY				,"数据为空"},
		{ERROR_VERIFY				,"数据验证错误"},
		{ERROR_ISEXISTS				,"数据已经存在"},
		{ERROR_LOGIN				,"登陆错误"},
		{USER_NULL					,"登录状态失效，请重新登录"},
		{CASH_PASSWORD_ERROR		,"交易密码错误"},
		
		
		/********************************py*2000****************************************/
		{MOBILE_NULL				,"手机号码不能为空"},
		{MOBILE_ISEXISTS			,"手机号码已被注册"},
		{MOBILE_SEND_SUCCESS		,"发送成功"},
		{MOBILE_SEND_ERROR		    ,"发送失败"},
		{LOGIN_USER_NULL		    ,"登录账户不能为空"},
		{LOGIN_PASSWORD_NULL		,"登录密码不能为空"},
		{LOGIN_ERROR				,"用户名或密码输入有误"},
		{LOGIN_SUCCESS				,"登录成功"},
		
		{MOBILE_REPEAT 				,"该手机号码已经被使用"},
		{MESSAGE_CODE_NULL			,"短信验证码不能为空"},
		{MESSAGE_CODE_ERROR			,"短信验证码错误"},
		{PASSWORD_NULL				,"密码不能为空"},
		{PASSWORD_FALSE				,"两次输入密码不一致"},
		{REGISTR_SUCCESS			,"注册成功"},
		{REGISTR_ERROR				,"注册失败"},
		{MESSAGE_CODE_TIMEOUT 		,"验证码已过期"},
		{PASSWORD_UNMODIFIED 		,"您输入的新密码与原密码一致"},
		{PAY_PASSWORD_ERROR 		,"交易密码格式不正确"},
		
		{ADDRESS_MAX_COUNT 			,"收货地址已达上限"},
		{BANK_CARD_EXIST			,"只限绑定一张银行卡"},
		{USER_NAME_EXIST			,"您输入的昵称已存在"},
		
		{EMAIL_NULL 				,"邮箱不能为空"},
		{IMAGE_CODE_ERROR			,"图形验证码错误"},
		
		{MEMBER_STATUS_DONGJIE		,"账号已被冻结或暂停使用"},
		
		{MEMBER_STATUS_DELETE		,"账号不存在"},
		{USERNAME_ILLEGAL			,"昵称含有非法字符"},
		{INVITER_ERROR				,"推荐人输入有误或不存在"},
		
		{NOT_REVIEWED				,"您的资料还在审核中，请耐心等待！"},
		
		/********************************xlm*3000****************************************/
		{MESSAGE_ALREADY_CONCERN 	,"已关注"},
		{MESSAGE_ALREADY_PRAISE 	,"已点赞"},
		{MESSAGE_COMMENT_SUCC 		,"评论成功"},
		{MESSAGE_COMMENT_TOO 		,"已评论"},
		{MESSAGE_COMMENT_CONTENT_ISNULL ,"评论内容为空"},
		{MESSAGE_CODE_FREUENTLY ,	"短信发送过于频繁，请稍后再试"},
		{SUB_ACCOUNT_UPDATE_ADDRESS_ERROR ,	"操作收货地址错误，暂无操作权限"},
		
		
		
		
		
		
		
		/********************************oyh*4000****************************************/
			{PRODUCT_LOW_STOCK ,"商品库存不足"},
			{PRODUCT_LOW_STOCK_USE_COUPON ,"商品库存不足,不能使用优惠券"},
			{USER_FILL_FAIL ,"用户充值失败"},
			{USER_MONEY_LOG_FAIL ,"用户资金流水日志操作异常"},
			{REPEAT_PAY ,"重复支付"},
			{USER_MONEY_NOT_ENGOUTH ,"余额不足"},
			{USER_CART_IS_NULL,"购物车没有需要购买的商品"},
			{SHOP_LOTTERY_IS_CLOSE,"元购抽奖已关闭"},
			{PAY_FAIL,"支付失败"},
			{COUPON_IS_VALID,"优惠券无效"},
			{GET_LOTTERY_CODE_FAIL,"系统分配元购码失败"},
			{USER_STATUS_VALID,"账户异常"},
			{ACTIVITY_END,"活动已经结束"},
			{MORE_THAN_ACTIVITY_LIMIT,"超过活动参加次数"},
			{MORE_THAN_ACTIVITY_PRODUCT_LIMIT,"超过活动购买次数"},
			{MORE_THAN_ACTIVITY_PRODUCT_SINGLE_LIMIT_COUNT,"超过活动商品单次购买数量"},
			{MORE_THAN_ACTIVITY_PRODUCT_TOTAL_LIMIT_COUNT,"超过活动商品购买数量"},
			{ACTIVITY_NOT_BEGIN,"活动还没开始"},
			{PRODUCT_BUY_ONLY_COUPON,"活动商品只能使用优惠券购买"},
			{COUPON_NUM_NOT_ENGOUTH,"优惠券数量不足"}
		
		
		
		
		/********************************zdx*5000****************************************/
		
		
		
		
		
		
		
		
		/********************************我是分割线**************************************/	
		
		
		
		
		
		
		
		
	};

}
